package com.yykj.user.center.server.service.patient;

import com.yykj.common.vo.PageData;
import com.yykj.user.center.server.dto.RegisteredOrderDTO;
import com.yykj.user.center.server.form.AppointmentForm;
import com.yykj.user.center.server.form.CancelAppointmentForm;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/3 17:22
 */
public interface RegisterService {


    Boolean create(AppointmentForm appointmentForm);

    public Boolean complete();

    Boolean cancel(CancelAppointmentForm cancelAppointmentForm);

    PageData<RegisteredOrderDTO> list(Integer current, Integer size, String startDate, String endDate, String patientName, String doctorName, String patientCardId, Integer state, Integer hospitalId);

    PageData<RegisteredOrderDTO> adminList(Integer current, Integer size, String startDate, String endDate, String patientName, String doctorName, String patientCardId, Integer state, Integer hospitalId);
}
